import {
  createRouter,
  createWebHashHistory,
  createWebHistory
} from "vue-router"

const routes = [
  {
    path: '/',
    name: "Home",
    component: () => import("../pages/HomePage.vue")
  },
  {
    path: '/about',
    name: "About",
    component: () => import("../pages/AboutPage.vue")
  },
  {
    path: '/music',
    name: "Music",
    component: () => import("../pages/Music.vue")
  },
]

const router = createRouter({
  // history: createWebHashHistory(),
  history: createWebHistory(),
  routes,
})

export default  router
